package com.aricwang.easyprofile.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.aricwang.easyprofile.service.ProfileService;

public class ChargingReceiver extends BroadcastReceiver {
	public void onReceive(Context context, Intent intent) { 
		String action = intent.getAction();
		
		ProfileService.notifyChargingState(context, action.equals(Intent.ACTION_POWER_CONNECTED));
	} 
}
